test(query-persist-client-core/persist): add tests for removing an expired or busted cache in 'persistQueryClientRestore'#10876
Conversation
…pired or busted cache in 'persistQueryClientRestore'
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds two test cases to ChangespersistQueryClientRestore invalidation tests
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit fb27fb8
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Adds unit tests for
persistQueryClientRestorecovering the cache invalidation paths: the persisted client is removed when the cache is older thanmaxAge(expired) or when itsbusterdoes not match the configured one.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit